<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>put请求测试</title>
		<script src="../js/axios.js"></script>
	</head>
	<body>
		<script>
		let url = 'http://localhost:8090/axios/updateUser'
		let user ={
			id:231,
			name:'小当家',
			age:'10',
			sex:'男'
		}
		axios.put(url,user).then(resu=>{
			console.log(resu.data)
		})
		</script>
	</body>
</html>
